//
//  UIButton+AVDRibbon.h
//  AVD_Demo
//
//  Created by 3tee on 2022/11/16.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIButton (AVDRibbon)

typedef NS_ENUM(NSUInteger, UIButtonLayoutType) {
    UIButtonLayoutImageLeft,
    UIButtonLayoutImageRight,
    UIButtonLayoutImageTop,
    UIButtonLayoutImageBottom,
};


- (void)setImageLayout:(UIButtonLayoutType)type space:(CGFloat)space;

/**
 titleLabel是否自适应宽度
 */
@property (assign, nonatomic) BOOL isSizeToFit;

@end

NS_ASSUME_NONNULL_END
